package com.mars.push.core.enums;

/**
 * @author mjy
 * @date 2021-03-05
 */
public enum StatusEnum {

    SUCCESS(200, "request success"),

    PARAM_ERROR(5001, "params error"),

    ERROR(5000, "system error");

    private Integer code;

    private String msg;

    StatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }}
